package Game;
/**
 * 盗贼
 */
public class Robber extends People implements Rob,Attack{
    public Robber(){}
    public Robber(String name,int level){
        super(name, level);
    }

    @Override
    public void rob() {
        System.out.println(this.getLevel()+"级的盗贼"+this.getName()+"会偷东西");
    }

    @Override
    public void attack() {
        System.out.println(this.getLevel()+"级的盗贼"+this.getName()+"可以攻击");
    }
}
